<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ include file="/WEB-INF/common/common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta charset="utf-8" />
		<title>佣金提现</title>
		<meta name="description" content="壁虎学车" />
		<meta name="keywords" content="壁虎学车"/>
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<link rel="stylesheet" href="<%=path %>/BihuWeb/css/amazeui.min.css" />
		<link rel="stylesheet" href="<%=path %>/BihuWeb/css/style.css" />
		<script type="text/javascript" src="<%=path %>/BihuWeb/js/jquery.min.js" ></script>
		<script type="text/javascript" src="<%=path %>/BihuWeb/js/amazeui.min.js" ></script>
		<script type="text/javascript">
		var flog = false;
		function chackSubmit(){
		
		var num = document.getElementById("wageGetMoney").value;
		if(flog == true){
		alert("信息提交中，请稍候！");
		return false;
		}
		if(!isNaN(num) && Number(num)>=100){
		flog = true;
		return true;
		
		}else{
		alert("取现数值必须为大于100的数");
		return false;
		}
		
		}
		
		
		
		</script>
	</head>
	<body>
    <header data-am-widget="header" class="am-header am-header-default header">
	<!--   <div class="am-header-left am-header-nav">
		     <a href="#left-link" class=""> 
		       <i class="am-header-icon am-icon-angle-left"></i>
		     </a>
		  </div> -->	
		  <h1 class="am-header-title"> <a href="#title-link" class="" style="color: #333;">佣金提现</a></h1>
		 
	  </header>
    
    
		<div class="detail-con">
	      	<img src="<%=path %>/BihuWeb/images/gg.jpg" />
        </div>
         <div data-am-widget="intro" class="am-intro am-cf am-intro-default">
        <div class="am-intro-hd">
		        <h2 class="am-intro-title">佣金信息</h2>
		 </div>
         
            
	<div class="am-g am-intro-bd">
	<div class="detail"><h1 >佣金余额:&nbsp;&nbsp;&nbsp;<spen class="pay-current-price">${serviceWage.wageMoney }元</spen></h1>
	<p class="text">本月佣金要经过审核后才会到达个人佣金余额中哦</p>
	
	</div>
    
    </div>
        <c:choose>
        <c:when test="${1 == serviceWage.wageState }"><p class="detail">该账户冻结中，无法提现</p></c:when>
        <c:when test="${0 == serviceWage.wageState }">
        <div class="search-input">
        <form action="<%=basePath %>/User_withdrawApply.action" method="post" onsubmit="return chackSubmit();">
        <input name="openid" type="hidden" value="${openid }"/>
        <input name="serviceWage.wageId" type="hidden" value="${serviceWage.wageId }"/>
		<input name="serviceWithdrawCash.wageGetMoney" id="wageGetMoney" type="text" required="required" placeholder="取现金额" class="tab-input" />
		<input type="submit" id="submit" value="申请提现" class="tab-btn" />
        </form>
		</div>  
		</c:when>
        
        </c:choose>
     
        
</div>
		<div class="h50"></div>
		
	</body>
</html>
